<body>
  <div class="weui-form-preview">
    <div class="weui-form-preview__bd scaninfo-docotorinfo">
      <div class="weui-form-preview__item">
        <label class="weui-form-preview__label font">就诊人</label>
        <span class="weui-form-preview__value">{{scanname}}</span>
      </div>
      <div class="weui-form-preview__item">
        <label class="weui-form-preview__label font">状态</label>
        <span class="weui-form-preview__value">{{outpatientlist[0].ZFZT==1?'已缴费':'未缴费'}}</span>
      </div>
      <div class="weui-form-preview__item">
          <label class="weui-form-preview__label font">门诊号</label>
          <span class="weui-form-preview__value">{{mzh}}</span>
        </div>
      <div class="weui-form-preview__item">
        <label class="weui-form-preview__label font">科室</label>
        <span class="weui-form-preview__value">{{outpatientpay.KDKS}}</span>
      </div>
      <div class="weui-form-preview__item">
        <label class="weui-form-preview__label font">医生</label>
        <span class="weui-form-preview__value">{{outpatientpay.YSXM}}</span>
      </div>
    </div>
  </div>
  <p class="scaninfo-title">项目名称<span>金额(元)</span></p>
  <div class="weui-form-preview">
      <div class="weui-form-preview__bd scaninfo-docotorinfo">
        <div class="weui-form-preview__item" *ngFor="let out of outpatientlist" >
          <label class="weui-form-preview__label font">{{out.MC}}</label>
          <span *ngIf="out.ZFZT==0" class="weui-form-preview__value red">{{out.JE | number:'1.2-2'}}</span>
          <span *ngIf="out.ZFZT==1" class="weui-form-preview__value">{{out.JE | number:'1.2-2'}}</span>
        </div>
      </div>
    </div>
</body>